# 连接配置mysql
DIALECT = 'mysql'
DRIVER = 'pymysql'
USERNAME = 'root'
PASSWORD = 'root'
HOST = 'slave1'
PORT = '3306'
DATABASE = 'storm1'
SQLALCHEMY_TRACK_MODIFICATIONS = False
JSON_AS_ASCII= False
DEBUG = True
SQLALCHEMY_DATABASE_URI = "{}+{}://{}:{}@{}:{}/{}?charset=utf8".format(DIALECT, DRIVER, USERNAME, PASSWORD, HOST, PORT,
                                                                       DATABASE)